﻿using MyServer.Common;
using MyServer.TcpIP;
using MyServer.Udp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ScreenMonitor
{
    /// <summary>
    /// 为命令相关对象提供存储
    /// </summary>
    public static class CommandObjects
    {
        /// <summary>
        /// 表示Tcp收发中心实例
        /// </summary>
        public static TcpIpCenter TcpCenter { get; set; }
        /// <summary>
        /// 表示Udp收发中心实例
        /// </summary>
        public static UdpCenter UdpCenter { get; set; }
        /// <summary>
        /// 表示Tcp命令中心
        /// </summary>
        public static TcpCommandCenter TcpCommandCenter { get; set; }
        /// <summary>
        /// 表示Udp命令中心
        /// </summary>
        public static UdpCommandCenter UdpCommandCenter { get; set; }
        /// <summary>
        /// 表示Gzip数据压缩器
        /// </summary>
        public static GZipDataCompressor GZipDataCompressor { get; set; }

    }
}
